//
//  ADUEatable.cpp
//  DUCKLING
//
//  Created by Dong Huu Tuyen on 3/31/15.
//
//

#include "ADUEatable.h"


Eatable* Eatable::CreateEatable(const string& file){
	Eatable* sprt = new Eatable();
    
    if (sprt && sprt->initWithFile(file)) {
    	sprt->autorelease();
        return sprt;
    }
    
    CC_SAFE_DELETE(sprt);
    
	return NULL;
}

